import 'package:flutter/material.dart';

// ignore: must_be_immutable
class ProductInfo extends StatefulWidget {
  final Map arguments;
  ProductInfo({Key? key, required this.arguments}) : super(key: key);

  @override
  _ProductInfoState createState() =>
      _ProductInfoState(arguments: this.arguments);
}

class _ProductInfoState extends State<ProductInfo> {
  Map arguments;
  _ProductInfoState({required this.arguments});
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("ProductInfo"),
      ),
      body: Text("${this.arguments["pid"]}"),
    );
  }
}
